package com.example.datamaskingdemo.controller;

import com.example.datamaskingdemo.entity.User;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author Ryan
 * @title: TestController
 * @projectName data-masking-demo
 * @description: TODO
 * @date 2020/7/1 0001 17:45
 */
@RestController
public class TestController {
    @RequestMapping("/test")
    public User test(){
        User user = new User();
        user.setId(1);
        user.setName("ryan");
        user.setTelephone("15016277091");
        return user;
    }
}
